package com.WJY.service;

import com.WJY.pojo.Flower;
import java.util.List;

public interface FlowerService {

    //查询所有
    List<Flower> queryFlowerList();

    //id查询
    Flower queryFlowerById(int id);

    //名字模糊查询
    List<Flower> queryFlowerByName(String name);

    //id删除
    int delFlowerById(int id);

    //增加花朵
    int addFlower(Flower flower);

    //修改花朵
    int updateFlower(Flower flower);
}
